package com.zhiyou100.crm.dao;

import com.zhiyou100.crm.util.Department;

import java.util.List;

public interface DepartmentDao {
    public abstract List<Department> queryAll();
    public abstract int addDepartment(Department department);

    public abstract int deleteById(int departmentId);

    int updateDepartment(Department department);
}
